Allow more advanced filtering of what to build
authorAlex Crichton <alex@alexcrichton.com>
Wed, 29 Apr 2015 16:42:29 +0000 (09:42 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 29 Apr 2015 17:59:02 +0000 (10:59 -0700)
commit7a1d8d9481bb3477b2b810693240eb72828ad275
treecd1c62ea2fa50c400da2b66619580ebea02e19a8
parente3a642559d25e4f3df494894bd03400924ee33ea
Allow more advanced filtering of what to build

This commit fills out the functionality of `--lib`, `--test`, `--bin`,
`--bench`, and `--example` for the `cargo {test,build,bench}` commands all at
once. The support for all of this was introduced long ago, and the flags just
weren't exposed at the time.
.travis.yml
src/bin/bench.rs
src/bin/build.rs
src/bin/test.rs
src/cargo/ops/cargo_compile.rs
tests/test_cargo_compile.rs